package projet_v1.items.ammo;

/**
 * This class manages categories of ammo.
 * 
 * @author Alexis Laurent
 * 
 */
public enum CategoryAmmo {
	GAUGE("12-Gauge", 6), ROCKET("Rocket", 2), LNC("Liquid Nitrogen Canister",
			3);

	private String category;
	private int nbInit;

	 /**
     * Constructor of CategoryAmmo enum.
     * 
     * @param category
     * 			: the category of the ammo
     * 
     * @param nbInit
     * 			: initial number of ammo
     */
	CategoryAmmo(String category, int nbInit) {
		this.category = category;
		this.nbInit = nbInit;
	}

	// Accessors
	public int getNbInit() {
		return nbInit;
	}

	public String toString() {
		return category;
	}

}
